package com.nbufe.domain.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * (CarbonStatistics)表实体类
 *
 * @author luzhiheng
 * @since 2024-02-01 13:49:13
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("carbon_statistics")
public class CarbonStatistics {
    @TableId
    private Long id;

    //碳排放量
    private Double carbonEmission;
    //碳排放量统计开始时间
    private String beginTime;
    //碳排放量统计截止时间
    private String endTime;
    //是否缴清碳配额(0否 1是)
    private Integer isPay;

    @TableLogic
    private Integer delFlag;
    
    private Date createTime;
    //未缴清碳配额
    private Double unpayQuota;
    // ccer
    private Double ccer;

    // 已使用的碳资产数量
    private Double usedAssert;
    // 已使用的ccer数量
    private Double usedCcer;
    // 已使用的碳配额数量
    private Double usedQuota;
    //总的ccer
    private Double totalCcer;
    //总的碳配额
    private Double totalQuota;

    private Long tenantId;
}
